<!DOCTYPE html>
<html>
<head>
    <meta charset=utf-8>
    <meta http-equiv="X-UA-Compatible" content="IE=9">
    <title>{cscms:title}</title>
    <meta name="Keywords" content="{cscms:keywords}" />
    <meta name="Description" content="{cscms:description}" />
    <link rel="stylesheet" href="{cscms:webpath}packs/font/font.css">
    <link rel="stylesheet" type="text/css" href="{cscms:indextempurl}css/user.css" />
    <script type='text/javascript' src='{cscms:indextempurl}js/user.js'></script>
</head>
<body style="background: #f5f5f5">
    {cscms:indexhead}
    {cscms:indexright}
        {cscms:indexleft}
            <div class="sp-cont-r">
                <div class="layui-tab layui-tab-card" lay-filter="dt1" style="margin-top: 0px;margin-bottom: 0px">
                    <ul class="layui-tab-title" style="height: 41px">
                        <li class="layui-this"><a href="[user:url userlink=vod]">我分享的</a></li>
                        <li><a href="[user:url userlink=vod,verify]">审核中的</a></li>
                        <li><a href="[user:url userlink=fav]">我收藏的</a></li>
                        <li><a href="[user:url userlink=look]">我观看的</a></li>
                        <a style="float: right;margin-right: 15px;margin-top: 5px" href="[user:url userlink=vod,add]" class="layui-btn layui-btn-small layui-btn-danger">分享视频</a>
                    </ul>
                    <div class="layui-tab-content" style="padding:0px;background-color: #fff">
                        <div class="layui-tab-item layui-show">
                            <div class="layui-tab layui-tab-brief">
							    <ul class="layui-tab-title">
							        <li{if:[vod:cid]==0} class="layui-this"{end if}><a href="[user:url userlink=vod]">全部类型</a></li>
	                                {cscms:class table="vod_list" fid="0" loop="10" order="asc"}
									<li{if:[vod:cid]==[class:id]} class="layui-this"{end if}><a href="[user:url userlink=vod,index]/[class:id]">[class:name]</a></li>
	                                {/cscms:class}
							    </ul>
							    <div class="layui-tab-content" style="padding: 10px;overflow: hidden;zoom: 1;">
								    {cscms:vod table="vod" field="id,pic,uid,name" pagesize="16" uid="auto" sort="addtime" order="desc"}
                                        <li class="vod-one" {if:[vod:i]%4==0}style="margin-right:0px"{end if}>
                                            <a target="_blank" title="[vod:name]" href="[vod:url link=show,id]" class="vod-link"><img src="[vod:pic dir=vod]?size=170*240" alt="[vod:name]"></a>
                                            <div class="vod-name">[vod:name]</div>
                                        </li>
								    {/cscms:vod}
									{if:{cscms:pagedata}==0}<div class="zanwu">暂无数据！</div>{end if}
									<div class="page" style="text-align: right;clear: both;{if:{cscms:pagedata}==0}display: none;{end if}">
			                            <div class="layui-box layui-laypage layui-laypage-default" id="layui-laypage-0">
			                                <a href="{cscms:pagefirst}" class="layui-laypage-last" title="首页">首页</a>
			                                <a href="{cscms:pageup}" class="layui-laypage-last" title="上一页">上一页</a>
			                                {cscms:pagenum len=6}
			                                <a href="{cscms:pagedown}" class="layui-laypage-next">下一页</a>
			                                <a href="{cscms:pagelast}" class="layui-laypage-last" title="尾页">末页</a>
			                            </div>
			                       </div>
							    </div>
							</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="mar10"></div>
    <div class="mar10"></div>
{cscms:indexbottom}
<script type="text/javascript">
    $(document).ready(function() {
        $('#left_vod_1').addClass('on');
        $('#left_first').removeClass('layui-nav-itemed');
        $('#left_vod_1').parent().parent().addClass('layui-nav-itemed');
    });
</script>
</body>
</html>